package org.linlinjava.litemall.db.vo.shop;

import java.math.BigDecimal;

/**
 * @author huangfei
 * @create 2022-01-13 16:51
 */
public class PromoterCommissionOrder {

    /**
     * 商品id
     */
    private Integer id;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 商品图片URL
     */
    private String image;

    /**
     * 商品SKU规格名称
     */
    private String skuName;

    /**
     * 商品类型(lease:租赁商品 sale:售卖商品 service:在线咨询服务)
     */
    private String goodstype;

    /**
     * 商品金额（售卖商品是售价、租赁商品是设备押金、在线咨询服务是售价）
     */
    private BigDecimal price;

    /**
     * 购买数量
     */
    private Integer stock;

    /**
     * 佣金分成类型，返回例如：固定金额￥10、消费金额5%
     */
    private String commissionType;

    /**
     * 佣金分成金额，返回：￥10，如果佣金金额未确定，则返回空字符串
     */
    private String commissionPrice;

    /**
     * 佣金结算状态(0:待结算 1:已结算)
     */
    private Integer commissionStatus;

    /**
     * 设备编号
     */
    private String deviceId;

    /**
     * 小订单编号
     */
    private Integer childOrderId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public PromoterCommissionOrder() {
        this.price = BigDecimal.ZERO;
        this.stock = 0;
        this.commissionType = "未知";
        this.commissionPrice = "0.00";
        this.deviceId = "未知";
    }

    public Integer getChildOrderId() {
        return childOrderId;
    }

    public void setChildOrderId(Integer childOrderId) {
        this.childOrderId = childOrderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public String getGoodstype() {
        return goodstype;
    }

    public void setGoodstype(String goodstype) {
        this.goodstype = goodstype;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getCommissionType() {
        return commissionType;
    }

    public void setCommissionType(String commissionType) {
        this.commissionType = commissionType;
    }

    public String getCommissionPrice() {
        return commissionPrice;
    }

    public void setCommissionPrice(String commissionPrice) {
        this.commissionPrice = commissionPrice;
    }

    public Integer getCommissionStatus() {
        return commissionStatus;
    }

    public void setCommissionStatus(Integer commissionStatus) {
        this.commissionStatus = commissionStatus;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }
}
